package com.hdd.biz.painting.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;

import java.time.LocalDateTime;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.Version;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 话题列表
 * </p>
 *
 * @author fang
 * @since 2021-02-25
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_biz_painting_topic")
@ApiModel(value="PaintingTopic对象", description="话题列表")
public class PaintingTopic implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;
    private String userId;
    @ApiModelProperty(value = "话题名称")
    private String name;
    @ApiModelProperty(value = "话题描述")
    private String remarks;
    @ApiModelProperty(value = "话题图片")
    private String pictureUrl;
    @ApiModelProperty(value = "话题颜色")
    private String color;
    @ApiModelProperty(value = "推荐 T推荐 ,F 不推荐")
    private String prior;
    private Integer sortNo;
    @ApiModelProperty(value = "状态 T正常 ,F 停用")
    private String status;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private LocalDateTime modifyTime;


}
